fun main(args: Array<String>) {
  val s = Solution()
  assert(s.lengthOfLongestSubstring("helloworld") == 5)
  assert(s.lengthOfLongestSubstring("dvdf") == 3)
  assert(s.lengthOfLongestSubstring("abcabcbb") == 3)
}